<template>
	<view>
		<text :style="{color:color}">Hello,{{name}} 页面</text>
	</view>
</template>

<script>
	export default {
		//props：接收通过属性传入的值，例如 <hello name="dongdong" color="red">
		props:['name','color'],
		name:"hello",
		data() {
			return {
				
			};
		}
	}
</script>

<style>

</style>